﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model PerfectBuyData.Usuario

@{
    ViewBag.Title = "Details";
}

<article id="address">

    <h1>Detalles Usuario</h1>
    @using (Html.BeginForm("Details", "Usuarios", FormMethod.Post, new { @class = "usuarios" }))
    {
        <fieldset>

            <div class="display-label">
                <label>Nombre</label>
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.userName)
            </div>

            <div class="display-label">
                <label>Contraseña</label>
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.userPassword)
            </div>

            <div class="display-label">
                <label>Correo</label>
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.email)
            </div>

            <div class="display-label">
                <label>Rol</label>
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.rol)
            </div>
        </fieldset>
    }
</article>
<p>
    @Html.ActionLink("Editar", "Edit", new { id = Model.idUsuario }) |
    @Html.ActionLink("Regresar a la lista", "Index")
</p>
